package cn.netswap.crate.autoconfigure;

import cn.netswap.crate.datasource.HikarDataProperties;
import com.zaxxer.hikari.HikariConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@ConfigurationProperties(prefix = "crate")
public class CrateProperties {

    HikarDataProperties hikari = new HikarDataProperties();

    public HikarDataProperties getHikari() {
        return hikari;
    }

    public void setHikari(HikarDataProperties hikari) {
        this.hikari = hikari;
    }
}